package model;
import db.DB;

import java.io.Serializable;
import java.sql.Date;
//销售订单商品
public class sale_list_good implements Serializable{
    private int Sale_List_id;
    private int Goods_id;
    private int Sale_quantity;

    public int getSale_List_id() {return Sale_List_id;}
    public int getGoods_id() {return Goods_id;}
    public int getSale_quantity() {return Sale_quantity;}

    public String showgoodname(){
        return new DB().findgoodname(Goods_id);
    }

    public void setSale_List_id(int sale_List_id) {Sale_List_id = sale_List_id;}
    public void setGoods_id(int goods_id) {Goods_id = goods_id;}
    public void setSale_quantity(int sale_quantity) {Sale_quantity = sale_quantity;}
}
